package com.li.youhappygo.model.entity.product;

import com.li.youhappygo.model.entity.BaseEntity;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

@Data
public class Product extends BaseEntity {
    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "品牌ID")
    private Integer brandId;

    @Schema(description = "一级分类ID")
    private Integer category1Id;

    @Schema(description = "商品图片URL")
    private String imgUrl;

    @Schema(description = "审核状态")
    private Integer auditStatus;  // 对应TINYINT

    @Schema(description = "商品描述")
    private String description;

    @Schema(description = "商品数量")
    private Integer itemNum;

    @Schema(description = "商品状态")
    private Integer status;  // 对应TINYINT
}
